str.endswith

True when source ends with str.

str.endswith(source: string, str: string) -> bool

Parameters

Example

str.endswith(timeframe.period, "m")