core / com.schibsted.account.util / Preconditions

Preconditions

class Preconditions

Checks for conditions that must be met at certain points in the sdk.

Functions

checkNotNull

static fun checkNotNull(vararg params: Any!): Unit

Checks that none of the given values is null.

verifyIsEmailAddress

static fun verifyIsEmailAddress(candidate: CharSequence!): Unit

Verifies that the given candidate is a well-formed e-mail address.