# StrBoolInterface

Chevere\Interfaces\Str\StrBoolInterface

view source

# Description

Describes the component in charge of string conditionals.

# Methods

# __construct()

# Parameters

  1. string $string

# empty()

Indicates whether the string is empty.

RETURN

bool


# ctypeSpace()

Indicates whether the string is ctype space.

RETURN

bool


# ctypeDigit()

Indicates whether the string is ctype digit.

RETURN

bool


# startsWithCtypeDigit()

Indicates whether the string starts with ctype digit.

RETURN

bool


# startsWith()

Indicates whether the string starts with $needle.

# Parameters

  1. string $needle

RETURN

bool


# endsWith()

Indicates whether the string ends with $needle.

# Parameters

  1. string $needle

RETURN

bool


# same()

Indicates whether the string is the same as $needle.

# Parameters

  1. string $string

RETURN

bool


Last Updated: 8/2/2020, 1:36:58 AM