Setting custom amount of space between elements in a custom inspector with EditorGUILayout ?

The attribute [Space(float x)] inside MonoBehavior classes allows for a set amount of extra space between elements in the Inspector.

EditorGUILayout has function called Space(), however it seems to have no overload to specify a specific amount of space, it just adds a default amount of space.

Is there a way to specify a specific amount of space in a custom editor script using EditorGUILayout ?

Is there a function similar to EditorGUILayout.Space() but with specific amount of space rather than the default space it adds ?

@CherryPicker You can pass an argument in the GUILayout.Space() function. It would look like this:
Eg. GUILayout.Space(10f);