Skip to main content

proper_name

Checks if a given name string is non-empty and contains at least one space character.

def proper_name(
name: string
) - > boolean

Determines if a given string qualifies as a full name by checking for the presence of at least one space character.

Parameters

NameTypeDescription
namestringThe name string to be validated for proper full-name formatting.

Returns

TypeDescription
booleanTrue if the input is a non-empty string containing at least one space, otherwise False.