edgeEndKeys.php
Table of Contents
Functions
- edgeEndKeys() : array<int, string>
- Returns the distinct `_key`s of one end of a list of edges (`_from` or `_to`).
Functions
edgeEndKeys()
Returns the distinct `_key`s of one end of a list of edges (`_from` or `_to`).
edgeEndKeys(iterable<string|int, mixed> $edges, string $end) : array<int, string>
Each edge is read by edgeEndKey() ; an edge without that end is skipped. The keys keep their first order and stay strings, even when they look like numbers.
Parameters
- $edges : iterable<string|int, mixed>
-
The edges, as objects or arrays.
- $end : string
-
The end to read :
Schema::_FROMorSchema::_TO.
Tags
Return values
array<int, string> —The distinct keys.