Functions

The following functions are available globally.

  • Returns whether the two collections are equal.

    Declaration

    Swift

    public func == (lhs: DKCollection?, rhs: DKCollection?) -> Bool

    Parameters

    lhs

    The left-hand side value to compare.

    rhs

    The right-hand side value to compare.

    Return Value

    true if the two values are equal, false otherwise.

  • Returns whether the two comments are equal.

    Declaration

    Swift

    public func == (lhs: DKComment?, rhs: DKComment?) -> Bool

    Parameters

    lhs

    The left-hand side value to compare.

    rhs

    The right-hand side value to compare.

    Return Value

    true if the two values are equal, false otherwise.

  • Undocumented

    Declaration

    Swift

    public func == (lhs: DKDirectory?, rhs: DKDirectory?) -> Bool
  • Returns whether the two invites are equal.

    Declaration

    Swift

    public func == (lhs: DKInvite?, rhs: DKInvite?) -> Bool

    Parameters

    lhs

    The left-hand side value to compare.

    rhs

    The right-hand side value to compare.

    Return Value

    true if the two values are equal, false otherwise.

  • Returns whether the two items are equal.

    Declaration

    Swift

    public func == (lhs: DKItem?, rhs: DKItem?) -> Bool

    Parameters

    lhs

    The left-hand side value to compare.

    rhs

    The right-hand side value to compare.

    Return Value

    true if the two values are equal, false otherwise.

  • Returns whether the two users are equal.

    Declaration

    Swift

    public func == (lhs: DKUser?, rhs: DKUser?) -> Bool

    Parameters

    lhs

    The left-hand side value to compare.

    rhs

    The right-hand side value to compare.

    Return Value

    true if the two values are equal, false otherwise.