1.0.2 • Published 5 years ago
endof v1.0.2
End Of
Author: Joenix
import endof from "endof";
// if array
endof(["one", "two", "three"]); // three
// if object
endof({ one: 1, two: 2, three: 3 }); // {three: 3}
Author: Joenix
import endof from "endof";
// if array
endof(["one", "two", "three"]); // three
// if object
endof({ one: 1, two: 2, three: 3 }); // {three: 3}