5

Where 4 goes in B; 0 for no arrow.

0

0 for none. Any other value gives 1 two images, and the relation is no longer a function.

Challenge

A = {1, 2, 3, 4} to B = {1, …, 5}. Element 4 has no arrow and 1 has two. Fix both so that this is a function.

function?= yes