getIndentation

emlib.textlib.getIndentation(code)[source]

get the number of spaces used to indent code

Return type:

int